package com.zmn.oms.common.dio.normal.order;

import com.zmn.common.constant.GlobalConsts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName CheckOrderCancelDIO
 * @description:
 * @author: wangyanci
 * @create: 2022-06-22 15:19
 * @Version 1.0
 **/
@Data
@ToString
@ApiModel("检查工单取消")
public class CheckOrderCancelDIO implements Serializable {

    private static final long serialVersionUID = -6468875880693976711L;
    /**
     * 订单Id
     */
    @ApiModelProperty(value = "订单Id", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 工单Id
     */
    @ApiModelProperty(value = "工单Id", required = true)
    @NotNull(message = "工单ID不能为空")
    private Long workId;

    /**
     * 操作者类型
     *
     * @see GlobalConsts#OPERATE_USER_TYPE_SYSTEM
     */
    @ApiModelProperty(value = "操作者类型", required = true)
    @NotNull(message = "操作者类型不能为空")
    private Integer operatorType;


    @ApiModelProperty("取消入口 短信取消：90 ")
    private Integer entranceId;

}